{$header}
<!--
/**
 * Template Adicionar Registros
 * @author Erich Oliveira <ericholiveira@gmail.com>
 * @date 23/12/2011
 */
-->

<link REL="stylesheet" href="include/style.css" type="text/css">
<!--[if IE]>
<link REL="stylesheet" href="include/styleIE.css" type="text/css">
<![endif]-->
{BEGIN style_block}
<style>
#center_block{$id} {margin:0 auto;}
#contents_block{$id} {text-align:center;}
#header_block{$id} {white-space:nowrap;height:31px;padding:5px 0;}
#fields_block{$id} {width:100%}
#buttons_block{$id} {padding-bottom:5px;white-space:nowrap;text-align:center;}
#required_block{$id} {text-align:left;padding:5px}
</style>
{END style_block}
</head>
<body {$bodyattrs}>
{BEGIN body}

{BEGIN flybody}
<TABLE align="center" id="center_block{$id}" cellpadding=0 cellspacing=0><tr><td id="header_block{$id}">
<div id="header_block{$id}">
<h1>Solicitar Acesso, Novo Registro</h1>
</div>

{BEGIN message_block}
<div id="message_block{$id}" class="downedit">{$message}</div>
{END message_block}

<div align=left><hr width="100%" noshade size=1>
  {BEGIN back_button}
	<span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs}></span>
	{END back_button}

</div>

<table cellpadding=4 cellspacing=2 border=0 id="fields_block{$id}">
{BEGIN tipo_acesso_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN tipo_acesso_label}
			Tipo Acesso
			{END tipo_acesso_label}		
			</strong></td>
		<td>
			{$tipo_acesso_editcontrol}
		</td>
	</tr>
{END tipo_acesso_fieldblock}
{BEGIN cpf_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN cpf_label}
			CPF
			{END cpf_label}		
			</strong></td>
		<td>
			{$cpf_editcontrol}
		</td>
	</tr>
{END cpf_fieldblock}
{BEGIN nome_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN nome_label}
			Nome
			{END nome_label}		
			</strong></td>
		<td>
			{$nome_editcontrol}
		</td>
	</tr>
{END nome_fieldblock}
{BEGIN email_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN email_label}
			Email
			{END email_label}		
			</strong></td>
		<td>
			{$email_editcontrol}
		</td>
	</tr>
{END email_fieldblock}
{BEGIN cargo_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN cargo_label}
			Cargo
			{END cargo_label}		
			</strong></td>
		<td>
			{$cargo_editcontrol}
		</td>
	</tr>
{END cargo_fieldblock}
{BEGIN perfil_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN perfil_label}
			Perfil
			{END perfil_label}		
			</strong></td>
		<td>
			{$perfil_editcontrol}
		</td>
	</tr>
{END perfil_fieldblock}
{BEGIN uorg_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN uorg_label}
			Unidade Organizacional
			{END uorg_label}		
			</strong></td>
		<td>
			{$uorg_editcontrol}
		</td>
	</tr>
{END uorg_fieldblock}
{BEGIN telefone_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN telefone_label}
			Telefone
			{END telefone_label}		
			</strong></td>
		<td>
			{$telefone_editcontrol}
		</td>
	</tr>
{END telefone_fieldblock}
{BEGIN mensagem_fieldblock}
	<tr>
		<td  align="right">
			<strong>
			{BEGIN mensagem_label}
			Mensagem
			{END mensagem_label}		
			</strong></td>
		<td>
			{$mensagem_editcontrol}
		</td>
	</tr>
{END mensagem_fieldblock}
</table>

<div id="buttons_block{$id}">
	<br>
	<div align=left><hr width="100%" noshade size=1></div>
	{BEGIN legend}
	<div id="required_block{$id}" ><img alt="bullet" src="images/icon_required.gif"> - Preenchimento Obrigatório</div>
	{END legend}
	{$legendBreak}
	{BEGIN save_button}
	<span class=buttonborder><input class=button type=submit value="Salvar" name=submit1 {$savebutton_attrs}></span>
	{END save_button}
	{BEGIN cancel_button}
	<span class=buttonborder><input class=button type=button value="Cancela" {$cancelbutton_attrs}></span>
	{END cancel_button}
	{BEGIN back_button}
	<span class=buttonborder><input class=button type=button value="Voltar à Lista" {$backbutton_attrs}></span>
	{END back_button}
	
</div>
</td></tr>
</table>
{END flybody}

{BEGIN detail_tables}
{END detail_tables}
<br><br>

{END body}
{$footer}
